﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dogd
{
	/// <summary>
	/// DeleteOption is used to control generation of delete statements by SqlStatementGenerator
	/// </summary>
	public enum DeleteOption
	{
		/// <summary>
		/// Delete treating a key as a primary key
		/// </summary>
		[Description("Delete by primary key")]
		ByPrimaryKey,

		/// <summary>
		/// Delete treating a key as a foreign key
		/// </summary>
		[Description("Delete by foreign key")]
		ByForeignKey
	}
}
